package start.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;
import start.entity.UserDto;

@Slf4j
@Service

public class JtcUserService implements IJtcUserService{

    public UserDto getUserById(Long id){
        log.info("获取用户方法执行");
        UserDto user = new UserDto();
        user.setId(1L);
        user.setName("TT");
        return user;
    }


}
